﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace test_knowledge.Model
{
    class Client
    {
        public int ClientId { get; set; }
        public string Name { get; set; }
        public string Surname { get; set; }
    }

    class Good
    {
        public int GoodId { get; set; }
        public string Name { get; set; }
        public double Price { get; set; }
    }

    class Busket
    {

        public int Id { get; set; }
        public int ClientId { get; set; }
        public int GoodId { get; set; }
        public Good Good { get; set; }
        public Client Client { get; set; }
        public int Count { get; set; }
        public DateTime Date { get; set; }
    }
    
}
